package org.itboys.mobile.dto.count;



import java.math.BigDecimal;
import java.util.List;
import java.util.Map;


/**
 * 作者：jiangxiong
 * 日期：2017年5月8日
 * 联系方式 ：empty90911@126.com
 * 描述：圣代_结算（购物车实体，只取products)__实体
 */
public class SundayCountDto{
    //基本属性
    private BigDecimal totalAmount;//应付金额
    private BigDecimal payAmount;//实付金额

    private Long memberId;//用户Id
    private Integer type;//结算类型。1,大型酒宴，2,私人定制,3餐厅到家
  /*  private Long couponId;//优惠券ID
    private BigDecimal couponAmount;//优惠券抵扣金额
    private String couponMsg;//优惠券优惠信息
    private BigDecimal balance;//余额
    private Integer isUserBalance;//是否使用余额。默认否
    private BigDecimal usedBalance;//使用余额抵扣的部分
    private String balanceMsg;//余额抵扣信息*/
    /*  private BigDecimal score;//剩余积分
     private BigDecimal sendAmount;//配送费
      private String sendAddress; //自提地址
      private String sendMsg;//配送费信息*/
    private String msg;//结算信息（促销优惠信息）
    private Long shopId;//门店id
    private String shopName;//门店名称
   /* private Long villageId;//小区ID
    private String villageName;//小区名称*/
   private String remark;//结算备注
    private Map<String,Object> address;//地址对象
    private List<SundayCountProductDto> products;//结算商品


    public SundayCountDto() {

    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }



    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public List<SundayCountProductDto> getProducts() {
        return products;
    }

    public void setProducts(List<SundayCountProductDto> products) {
        this.products = products;
    }

    public String getTypeStr() {
        String typeStr="";
        if(type==null)return typeStr;

        switch (type) {
            case 1:
                typeStr="商城结算。";
                break;
           /* case 2:
                typeStr="积分结算";
                break;*/
            case 3:
                typeStr="商户结算";
                break;
            default:
                break;
        }
        return typeStr;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }


    public Map<String, Object> getAddress() {
        return address;
    }

    public void setAddress(Map<String, Object> address) {
        this.address = address;
    }
}
